package com.hs.srm.base.modules.sys.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @description:
 * @author: Wangpeidong
 * @create: 2018-05-08 09:05
 */
@TableName("sys_attachment")
public class SysAttachmentEntity implements Serializable {
	private static final long serialVersionUID = 2170794921512556587L;

	@TableId(type = IdType.AUTO)
	private Long id;

	private String path;

	// 创建时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;

	public Date getCreateTime() {
		return this.createTime;
	}

	public Long getId() {
		return this.id;
	}

	public String getPath() {
		return this.path;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setPath(String path) {
		this.path = path;
	}
}
